package org.dromara.apartment.domain.vo;

import org.dromara.apartment.domain.FacilityInfo;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 配套信息视图对象 facility_info
 *
 * @author ckj
 * @date 2025-06-13
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = FacilityInfo.class)
public class FacilityInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 自增逐渐
     */
    @ExcelProperty(value = "自增逐渐")
    private Long id;

    /**
     * 类型（1:公寓图片,2:房间图片）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=:公寓图片,2:房间图片")
    private Integer type;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 图标
     */
    @ExcelProperty(value = "图标")
    private String icon;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Integer sort;


}
